A simple program
cout
//include this file for cout
#include <iostream.h>
int main()
{
   //print out the text string,
   //"Hello, World!"
   cout << "Hello, World!"
       << endl;
   return 0;
}
This is the line that prints
out the text string, "Hello,
World!". You can print out
any series of text strings
by separating them with
<<. So, instead of saying
cout << "Hello, World!" <<
endl;
you could say
cout << "Hello, " << "World"
<< "!" << endl;
The endl simply adds a
carriage return (stands for
"end-line").